Methods for interfacing with an interactive application using a controller with an integrated camera

ABSTRACT

A method for determining a position of a controller in a three-dimensional space is disclosed. One method includes an operation to calibrate a computer program to identify a group of recognized fixed points from a plurality of fixed points within the three-dimensional space using a depth camera integrated with the controller. Another operation activates use of the controller and depth camera during interface with the application. During use of the controller, image and depth data within the three-dimensional space is captured with the depth camera of the controller. The captured data can then be used to enable input to a computer system.

BACKGROUND OF THE INVENTION

The video game industry has seen many changes over the years. Ascomputing power has expanded, developers of video games have likewisecreated game software that takes advantage of these increases incomputing power. To this end, video game developers have been codinggames that incorporate sophisticated operations and mathematics toproduce a very realistic game experience.

Example gaming platforms, may be the Sony Playstation, Sony Playstation2(PS2), and Sony Playstation3 (PS3), each of which is sold in the form ofa game console. As is well known, the game console is designed toconnect to a monitor (usually a television) and enable user interactionthrough handheld controllers. The game console is designed withspecialized processing hardware, including a CPU, a graphics synthesizerfor processing intensive graphics operations, a vector unit forperforming geometry transformations, and other glue hardware, firmware,and software. The game console is further designed with an optical disctray for receiving game compact discs for local play through the gameconsole. Online gaming is also possible, where a user can interactivelyplay against or with other users over the Internet.

While there realism of the gaming experience has steadily improved,users have continued to interact with the gaming platforms throughdedicated gaming controllers. While some advances have been made in userinteraction additional avenues of user interaction remain that canimprove the overall experience of using the gaming console.

It is within this context that embodiments of the invention arise.

SUMMARY

Broadly speaking, the present invention enables users to interact with acomputer system using a controller having an associated or integrateddepth camera. To calibrate the controller, the depth camera can be usedto capture image and depth data within a space. Subsequent image anddepth data can be used to determine the relative location of the depthcamera, and subsequently, the controller within the space.

In one embodiment, a computer implemented method for determining aposition of a controller in a three-dimensional space is disclosed. Themethod includes an operation to calibrate a computer program to identifya group of recognized fixed points from a plurality of fixed pointswithin the three-dimensional space using a depth camera integrated withthe controller. Another operation activates use of the controller anddepth camera during interface with the application. During use of thecontroller, image and depth data within the three-dimensional space iscaptured with the depth camera of the controller. In another operationthe image and depth data is analyzed to find one or more of the group ofrecognized fixed points. In one embodiment, the previous two operationsare repeated and changes of position of the controller are determinedbased on a change in position of the found ones of the group ofrecognized fixed points. The method also includes an operation totrigger an input command based on the determined change in position ofthe controller, wherein the input command causes an action by theapplication.

In another embodiment, a computer implemented method for interactingwith a computer system is disclosed. The method includes an operationthat begins an interactive session that is executed on the computersystem, and automatically applies a saved controller calibration from amemory. In another operation, the method accepts input to a controllerwith a mobile depth camera. In one operation, image and depth datawithin a space is captured with the mobile depth camera. In anotheroperation the image and depth data is analyzed for one or morerecognized fixed points. In one embodiment, the previous two operationand repeated and movement of the mobile depth camera within the space isdetermined based on differences between the recognized fixed points. Themethod also includes an operation where an input command is triggeredbased on the movement of the mobile depth camera, wherein the inputcommand causes an action within the interactive session.

In another embodiment, a handheld controller for a computer system isdisclosed. The handheld controller includes a controller housing definedby an exterior that encloses and interior volume. The controller alsoincludes interface controls that are partially exposed to the exteriorof the housing. Also included with the controller is a depth cameraassembly. The depth camera assembly includes a depth module, an imagemodule and processing logic. The depth module and image module areconfigured to receive image and depth data through a camera lens, andthe communication module is configured to transmit and receive data fromthe processing logic of the depth camera assembly to the computersystem. Wherein changes to the image and depth data received by thedepth camera assembly trigger input commands for the computer system.

In yet another embodiment, an interactive computing system configured todisplay an interactive session on a display is disclosed. The computingsystem includes a computing console with a central processing unit, agraphics processing unit, and a communications interface. Thecommunications interface being configured to provide communication toand from the computing console. The computer system can also include acontroller with a depth camera. The depth camera being configured with adepth module, an image module and processing logic. The controller mayalso include a communication module that is configured to receive andtransmit data from the processing logic of the depth camera to thecommunications interface of the computing console. Wherein changes inimage and depth data captured by the depth camera are translated toinput commands for the computing system.

Other aspects and advantages of the invention will become apparent fromthe following detailed description, taken in conjunction with theaccompanying drawings, illustrating by way of example the principles ofthe invention.

BRIEF DESCRIPTION OF THE DRAWINGS

The invention, together with further advantages thereof, may best beunderstood by reference to the following description taken inconjunction with the accompanying drawings.

FIG. 1 shows an exemplary space where a console can be used my user, inaccordance with one embodiment of the present invention.

FIGS. 2A-1 and 2A-2 are simplified views showing select components ofthe mobile depth camera, in accordance with embodiments of the presentinvention.

FIG. 2B is an external view of an exemplary controller with anintegrated depth camera, in accordance with one embodiment of thepresent invention.

FIGS. 3A and 3B illustrate the user calibrating the controller relativeto the camera and the screen, in accordance with various embodiments ofthe present invention.

FIG. 4A illustrates analyzed image and depth data from the mobile depthcamera, in accordance with one embodiment of the present invention.

FIG. 4B illustrates recognized fixed points within a space in accordancewith one embodiment of the present invention.

FIGS. 5A and 5B illustrate recognized fixed points within a scene fromthe perspective of the mobile depth camera, in accordance with oneembodiment of the present invention.

FIGS. 6A and 6B illustrate recognized fixed points within a scene fromthe perspective of the mobile depth camera, in accordance with oneembodiment of the present invention.

FIG. 6C illustrates a top view of a scene where depth data from themobile depth camera is used to determine the position of the controllerwithin the space in accordance with one embodiment of the presentinvention.

FIG. 7 is an exemplary flow chart illustrating operations to use themobile depth camera to determine the position of the controller withinthe space, in accordance with one embodiment of the present invention.

FIG. 8 is an exemplary flow chart that illustrates operations tocalibrate the mobile depth camera in order to determine the position ofthe controller within the space, in accordance with one embodiment ofthe present invention.

FIG. 9 schematically illustrates the overall system architecture of theSony® Playstation 3® entertainment device, a computer system capable ofutilizing dynamic three-dimensional object mapping to createuser-defined controllers in accordance with one embodiment of thepresent invention.

DETAILED DESCRIPTION

An invention is disclosed for using image and depth data captured by amobile depth camera to control an interactive session on a console.Broadly speaking, the console can be any type of system that takes inputfrom a user, whether it is a general-purpose computer (e.g., desktop,notebook, handheld device, smartphone, etc.), or a special purposecomputer such as a game console. The mobile depth camera can be mountedto or in a controller for the console and used to capture geometricdepth data along image data. The depth camera can provide image anddepth data to the console for analysis and processing. In oneembodiment, the depth camera is a single lens camera, and in otherembodiments, multiple camera lenses can be used to capture images anddepth data. The image and depth data captured by the mobile depth cameracan be analyzed to determine movement of the controller and depth camerawithin a space. The movement of the controller can be processed andmapped to control various aspects of the interactive session on theconsole.

In the following description, numerous specific details are set forth inorder to provide a thorough understanding of the present invention. Itwill be apparent, however, to one skilled in the art that the presentinvention may be practiced without some or all of these specificdetails. In other instances, well known process steps have not beendescribed in detail in order not to unnecessarily obscure the presentinvention.

FIG. 1 shows an exemplary space 100 where a console 106 is being used byuser 102, in accordance with one embodiment of the present invention.The space 100 can include a table 114 along with shelf units 112 a/b anda monitor 108. In some embodiments, the monitor 108 is a cathode raytube (CRT) monitor capable of displaying a variety of video inputs. Inother embodiments, the monitor 108 is a flat panel monitor such as aLiquid Crystal Display (LCD) or plasma monitor configured to accept avariety of video inputs (analog or digital).

Connected to the monitor 108 is the console 106 that includes varioushardware and firmware that is capable of executing locally or remotelystored software programs. In one embodiment, the software program can bean operating system that outputs video of a Graphical User Interface(GUI) to the monitor 108. The user 102 can interact with the console 108through the GUI using a controller 104 that includes a mobile depthcamera 105. The mobile depth camera 105 captures image and depth datawithin a field of view 105 a. Analysis of the image and depth datacaptured with the mobile depth camera 105 can be performed to determinethe relative position of the controller 104 within the space 100.

The controller 104 can accept a variety of user input such as, but notlimited to combinations of digital and/or analog buttons, triggers,joysticks, and touch pads. Additionally, accelerometers within thecontroller 104 can allow the console 106 to respond to motions impartedby the user 102 to the controller 104. For example, using integratedaccelerometers, motions or combinations of motions imparted to thecontroller such as roll, pitch and yaw can be detected and used tointeract with software being executed by the console 106. In someembodiments, wires physically couple and facilitate communicationsbetween the console 106 and the controller 104. In other embodiments,the controller 104 can communicate wirelessly to the console 106 usingwireless protocols such as, but not limited to Bluetooth and Wi-Fi.

A fixed depth camera 110 can also be coupled to the console 106 andplaced so the fixed depth camera 110 has a field of view 110 a thatincludes the table 114, the user 102, and the controller 104. Similar tothe mobile depth camera 105, the fixed depth camera can capture imageand depth data for objects within the field of view 110 a. In oneembodiment, the image and depth data from both the fixed depth camera110 and the mobile depth camera 105 is used to determine the relativeposition of the controller 104 within the space 100.

FIGS. 2A-1 and 2A-2 are simplified views showing select components ofthe mobile depth camera 105, in accordance with embodiments of thepresent invention. For simplicity, additional components within thecontroller 104 are not shown. In the embodiment shown in FIG. 2A-1, themobile depth camera 105 is integrated within the controller 104. In FIG.2A-2, the mobile depth camera 105 is shown as an external module thatcan be attached to an exterior port 220 b on the controller 104 using aconnector 220 a (e.g., USB, or other electrical connector). In bothembodiments, the mobile depth camera 105 can include a lens 200, a depthmodule 202 along with an image module 204, and logic processing 206. Thedepth module 202 can include a variety of sensors, emitters, and logic.In one embodiment, multiple infrared (IR) emitters can be arranged in anarray around the lens 200. The IR emitters can be used to send pulses ofIR light that reflect off of objects in front of the controller 104.Sensors associated with the IR emitters can measure the time for thereflected IR pulses to return in order to help determine the distance,or depth, of an object from the controller 104.

In some embodiments, logic associated with the depth module 202 can beused to focus the depth module to a particular area within the field ofview of the depth camera 105. Focusing the depth module 202 can beaccomplished using a variety of techniques. In one embodiment, IRemitters with different wavelengths can be used within an array of IRemitters. Additionally, the different emitters can be pulsed atdifferent times and/or different intensities to focus depth detection ina particular area within the field of view of the depth camera 105.

The image module 204 can be configured to capture image data through thelens 200 using a charged coupled device (CCD) or other type of sensor.In one embodiment, the logic module 206 can input data from both theimage module 204 and the depth module 202. The logic module 206 can alsoreceive and interpret commands from the console 106 to change the focusof either the image module 204 or the depth module 202. In wirelessembodiments of the controller 104, a communications module 208 canpermit bi-direction communications between the controller 104 and theconsole 106. Thus, signals from the logic module 206 to be transmittedto the console 106 and vice versa. In one embodiment, the communicationsmodule 208 can transmit data using a form of the IEEE 802.11 wirelessprotocols. In another embodiment, a form of the Bluetooth communicationsstandard is used to transmit data from the controller 104 to the console106.

FIG. 2B is an external view of an exemplary controller 104 with anintegrated depth camera 105, in accordance with one embodiment of thepresent invention. Visible on an exterior of the controller 104 is thelens 200. Also visible on the exterior of the controller 104 is aUniversal Serial Bus (USB) port 210, buttons 214 a/b and 216 a/b, andjoysticks 212 a/b. The buttons 214 a/b and 216 a/b along with thejoysticks 212 a/b can be either analog or digital and allow a user tointerface with the console. The controller 104 can be charged whenconnected to the console via the USB port 210.

FIGS. 3A and 3B illustrate the user 102 calibrating the controller 104relative to the camera 110 and the screen 108, in accordance withvarious embodiments of the present invention. To calibrate the positionof the controller within the space, the user 102 may be prompted viaon-screen instructions, audible instruction or a combination thereof, tohold the controller 104 in a first position. This enables the mobiledepth camera 105 to capture image and depth data for objects within thefield of view 105 a. In this embodiment, the monitor 108 and the fixeddepth camera 110 are both within the field of view 105 a of the mobiledepth camera 105. After being prompted to move into a second position,the controller 104′ along with the mobile depth camera 105′ can captureadditional image and depth data within a second field of view 105 a′.

FIG. 3B illustrates other possible steps in calibrating the mobile depthcamera 105, in accordance with one embodiment of the present invention.In this embodiment, the user 102 stands in front of the monitor 108,fixed depth camera 110 and shelf units 112 a/b. In order to captureimage and depth data from a variety of angles, the user 102 may beprompted to assume positions of user 102′ and/or user 102″. In thevarious positions, the mobile depth camera 105 can capture image anddepth data of the shelf units 112 a/b, monitor 108 and fixed depthcamera 110 within their respective field of views. In other embodiments,calibration may require raising, lowering, tilting or yawing thecontroller 104 while in the various positions of the users 102, 102′ and102″.

FIG. 4A illustrates analyzed image and depth data from the mobile depthcamera 105, in accordance with one embodiment of the present invention.Fixed points 400 can be determined based on the image and depth datacaptured during the calibration of the depth camera 105. In someembodiments, the console can execute software that analyzes the imageand depth data to create wireframe models of stationary objects withinthe field of view of the controller and integrated mobile depth camera.When the mobile depth camera is used to determine motion of thecontroller, real-time images from the mobile depth camera can becompared to data generated using the wireframe models. In suchembodiments, different ratios of wireframe elements captured from theimage and depth data can be used to determine the position of thecontroller. In other embodiments, the console can analyze the image anddepth data to link fixed points and generate a smaller set of recognizedfixed points.

FIG. 4B illustrates recognized fixed points within a space 100 inaccordance with one embodiment of the present invention. Whencalibrating the controller image and depth data can be analyzed todetermine recognized fixed points within the field of view of the mobiledepth camera. In one embodiment, the recognized fixed points areselected from a larger set of fixed points similar to those identifiedin FIG. 4A. The console can execute software to analyze image and depthdata for a large set of fixed points captured from a variety of anglesand positions within the space. Analysis of the large set of fixedpoints can filter the large set of fixed points to a smaller set ofrecognized fixed points based on predefined criteria.

In one embodiment, selection of recognized fixed points from the largeset of fixed points can be made based on relative depth contrast betweena fixed point and surrounding points. For example, in the scene 100,recognized fixed points 402, 404, 410, and 412 can be selected becauseof the prominence of the corners of the shelves 112 a and 112 b. Depthdata for the recognized fixed points 404-404 and 410-412 can be morereadily resolved and recognized based on the prominence of the cornersof the shelves compared to other objects within the scene 100.Similarly, depth data for the recognized fixed points 406 and 408 canresolved based on the relative position of the monitor 108.

Image data can also be used in conjunction with depth data to determinerecognized fixed points. Color contrast along with relative pixellocations can be used to supplement depth data in determining whichfixed points can be used as recognized fixed points. In someembodiments, depth data can be used more extensively when determiningrecognized fixed points because of variation in lighting conditionswithin the space 100.

FIGS. 5A and 5B illustrate recognized fixed points within a scene fromthe perspective of the mobile depth camera, in accordance with oneembodiment of the present invention. The left half of FIG. 5Aillustrates a side-view of a scene 100 with a user 102 holding acontroller 104 with a mobile depth camera 105. The right half of FIG. 5Aillustrates an image captured of the scene 100 using the mobile depthsensing camera 105 in accordance with one embodiment of the presentinvention.

In FIG. 5A, the user 102 holds the controller 104 so the field of viewof the mobile depth camera is substantially straightforward. Thisprovides the mobile depth camera 105 with a field of view that resultsin the image shown in the right half of FIG. 5A. As illustrated thedepth data is not conveyed but recognized fixed points 402, 408, 418 and420 have been identified.

In the left side of FIG. 5B, the user 102 has pitched the controllerforward so the field of view of the mobile depth camera is slightlydown. This results in the image seen in the right side of FIG. 5B whereonly recognized fixed points 418 and 420 remain within the field of viewof the mobile depth camera. By comparing the image and depth data fromFIGS. 5A and 5B, software executed by the console can determine that theuser pitched the controller 104 forward. In one embodiment, the loss ofrecognized fixed points 402 and 408 within FIG. 5B can indicate a changein position of the controller 104. In other embodiments, image data canbe used to determine relative changes in distance. For example, relativechanges be determined based on changes from distance X in FIG. 5A todistance X′ in FIG. 5B. Similarly, relative changes in distance Y inFIG. 5A to distance Y′ in FIG. 5B can be used to determine relativemovement of the controller 104.

FIGS. 6A and 6B illustrate recognized fixed points within a scene fromthe perspective of the mobile depth camera, in accordance with oneembodiment of the present invention. The left side of FIG. 6A and FIG.6B illustrates a top view of a user 102 within a space 100 holding acontroller 104 with a mobile depth camera 105. The right side of FIG. 6Aand FIG. 6B show the view of the space 100 as captured by the mobiledepth camera 105. In FIG. 6A, the user 102 is shown facing the forwardtoward the monitor 108. The image captured appears relatively straightand level indicating that the mobile depth camera and hence thecontroller are being held in a relatively level position, i.e.relatively no yaw, pitch nor roll. As illustrated in FIG. 6B, the user102 has turned to the left resulting in the controller yawing to theleft relative to the image in FIG. 6A. This results in mobile depthcamera 105 capturing the image seen on the right side of FIG. 6B.

As the mobile depth camera 105 is yawed to the left relative to theposition in FIG. 6A, the objects within the field of view change.Whereas the recognized points for the shelves 112 b were visible in FIG.6A, the same recognized points are not visible in FIG. 6B. Based on therecognized points within the mobile depth camera field of view, thelocation and orientation of the controller can be determined based onimage and depth data captured during the calibration of the controller.

FIG. 6C illustrates a top view of a scene where depth data from themobile depth camera is used to determine the position of the controllerwithin the space in accordance with one embodiment of the presentinvention. In one embodiment, depth data captured by the mobile depthcamera can be used in conjunction with the image data to determine theposition of the controller in the space. As shown in FIG. 6C, the mobiledepth camera can determine that the controller 104 is being held by user102 at a distance Z1 from the monitor 108. Should the user 102 move tothe position of user 102′, depth data captured by the mobile depthcamera can measure the distance Z2 from the controller 104′ to themonitor 108.

Though the entire user 102 is shown moving to distance Z2, in mobiledepth camera may be able to determine changes in distance based on theuser 102 moving the controller forwards and backwards with their arms.For example, the mobile depth camera can determine a distance Z1 to themonitor 108 when a user 102 holds the controller close to their body.Similarly, the mobile depth camera can determine changes in distance tothe monitor 108 as the user extends their arms toward the monitor 108.

In some embodiments, the changes in distance from Z1 to Z2 can be usedto interact with the session displayed on the monitor 108. For example,depth data and image data can be processed to determine correspondingmovements in a three-dimensional virtual world. In one embodiment, depthdata captured while the controller is moving toward the monitor canresult in forward motion being displayed on the monitor 108. Similarly,depth data captured while the controller is moving away from the monitorcan result backward motion being displayed on the monitor.

FIG. 7 is an exemplary flow chart illustrating operations to use themobile depth camera to determine the position of the controller withinthe space, in accordance with one embodiment of the present invention.An environment setup module 700 can perform operation 704 thatcalibrates the controller and operation 706 that saves the controllercalibration to a memory. With the controller calibrated, operation 708begins an interactive session. In one embodiment, interactive sessionsare executed by the computing console and can be, but are not limited tointeractive games and graphical user interfaces for software such asoperating systems, Internet web browsers, and digital photo viewinginterfaces. Since the controller calibrations can be saved to a memorysome embodiments do not require the execution of operations within theenvironment setup module 700. In such embodiments, the saved controllercalibrations can be recalled from the memory before, after orsimultaneously when the interactive session is begun.

In other embodiments, the environment setup module 700 can be utilizedafter an interactive session has been started. These embodiments canallow the controller to be customized for the particular nuances of aparticular interactive session. For example, in a photo viewinginteractive session moving the controller toward the monitor can allowthe user to zoom in on an image show on the display. Likewise, a varietyof interactive gaming sessions may allow a user to calibrate thecontroller based on the type of game. Depth data captured by the mobiledepth camera can be utilized to control one aspect of a drivingsimulation while changes in depth data can be used for somethingdifferent in a First-Person-Shooter (FPS) and the same changes in depthdata can be used to control something entirely different in a MassiveMultiplayer Online Role Playing Game (MMORPG).

When an interactive session has a customized controller calibration theenvironment setup module may prompt the user to calibrate the controllerand save the controller calibration to a memory. Subsequently, uponstarting the interactive session the saved controller calibration can beautomatically loaded. In embodiments where multiple users can storemultiple calibrations, a default calibration may be loaded and the usercan choose to load their saved calibration from a menu displaying themultiple users.

When an interactive session is running, operation within the imageprocessing module 702 can allow users to interact with the interactivesession. When the interactive session begins, a sample rate for themobile depth camera can be set in operation 716. The sample rate canvary based on accuracy and precision required by the interactivesession. In embodiments such as navigating an Internet web browser orutilizing a graphical user interface for an operating system, the samplerate may be lower than that of a FPS. In other embodiments, the samplerate can be continuously modified during an interactive session.

For example, the sample rate of the mobile depth camera can be increasedwhen higher accuracy and precision are required and subsequently loweredwhen accuracy and precision are no longer required. One of many exampleswhere this may be utilized is in a FPS when a user is using a sniperrifle. In order to more realistically simulate the difficulty of using asniper rifle, the sample rate of the mobile depth sensing camera can beincreased to capture minute movements of the user's hand to simulatemovement of the virtual sniper rifle. When the user is no longer usingthe sniper rifle, the sample rate can seamlessly be reduced to decreaseimage processing requirements for the mobile depth sensing camera. Insome embodiments, processors within the controller 104 perform the imageand depth data processing. In other embodiments, image and depth datafrom the mobile depth camera is sampled at the designated sample rateand sent to the computing console 106 for processing. In eitherembodiment, compression techniques may be used to reduce the bandwidthrequired to send either processed data or raw data to the console 106for additional processing.

Operation 710 captures a first frame of image and depth data using themobile depth camera. In operation 712, the captured image and depth datais analyzed to determine recognized fixed points within the image.Operation 714 determines the relative position within the space based onthe recognized fixed points. Operation 716 uses the set sample rate todetermine when to capture a second frame of image and depth data usingoperation 710. Operation 718 generates an action within the interactivesession by determining difference between the first and second frame ofimage and depth data.

In one embodiment, the motions determined by the image processing module702 can supplement additional user input to the controller 104. Forexample, accelerometer data can be used in addition to image and depthdata to determine yaw, pitch and roll of the controller 104.Additionally, joysticks, buttons and triggers on the controller 104 canbe used to provide additional user input. The combination of the variousforms of user input to the controller can be used so operation 720displays user interactivity based on input to the controller 104 on thedisplay 108.

FIG. 8 is an exemplary flow chart that illustrates operations tocalibrate the mobile depth camera in order to determine the position ofthe controller within the space, in accordance with one embodiment ofthe present invention. Operation 800 initiates controller calibration.As previously discussed, controller calibration can be performed priorto or after an interactive session has be initiated. Operation 802captures image and depth data from a first location. In order tosimplify calibration, the user may be prompted with onscreen diagrams tostand in approximate locations within the space. The onscreen diagramcan instruct the user to stand in a second location where operation 804captures image and depth data from a second location. In otherembodiments, the user may be prompted to hold the controller in avariety of orientations such as changing the yaw, pitch and roll of thecontroller. In still further embodiments, the user may be prompted tohold the controller at various elevations above the floor of the space.

Operation 806 compares the image and depth data captured in the firstand second location to identify recognized fixed points. In operation808, the recognized fixed points can be used to create a wireframe modelof the space to determine relative ratios between recognized fixedpoints. The relative rations between recognized fixed points could thenbe used to determine the relative position of the controller within thespace. Operation 706 is used to save the controller calibration to amemory.

FIG. 9 schematically illustrates the overall system architecture of theSony® Playstation 3® entertainment device, a computer system capable ofutilizing dynamic three-dimensional object mapping to createuser-defined controllers in accordance with one embodiment of thepresent invention. A system unit 1000 is provided, with variousperipheral devices connectable to the system unit 1000. The system unit1000 comprises: a Cell processor 1028; a Rambus® dynamic random accessmemory (XDRAM) unit 1026; a Reality Synthesizer graphics unit 1030 witha dedicated video random access memory (VRAM) unit 1032; and an I/Obridge 1034. The system unit 1000 also comprises a Blu Ray® Disk BD-ROM®optical disk reader 1040 for reading from a disk 1040 a and a removableslot-in hard disk drive (HDD) 1036, accessible through the I/O bridge1034. Optionally the system unit 1000 also comprises a memory cardreader 1038 for reading compact flash memory cards, Memory Stick® memorycards and the like, which is similarly accessible through the I/O bridge1034.

The I/O bridge 1034 also connects to six Universal Serial Bus (USB) 2.0ports 1024; a gigabit Ethernet port 1022; an IEEE 802.11b/g wirelessnetwork (Wi-Fi) port 1020; and a Bluetooth® wireless link port 1018capable of supporting of up to seven Bluetooth connections.

In operation the I/O bridge 1034 handles all wireless, USB and Ethernetdata, including data from one or more game controllers 1002. For examplewhen a user is playing a game, the I/O bridge 1034 receives data fromthe game controller 1002 via a Bluetooth link and directs it to the Cellprocessor 1028, which updates the current state of the game accordingly.

The wireless, USB and Ethernet ports also provide connectivity for otherperipheral devices in addition to game controllers 1002, such as: aremote control 1004; a keyboard 1006; a mouse 1008; a portableentertainment device 1010 such as a Sony Playstation Portable®entertainment device; a video camera such as an EyeToy® video camera1012; and a microphone headset 1014. Such peripheral devices maytherefore in principle be connected to the system unit 1000 wirelessly;for example the portable entertainment device 1010 may communicate via aWi-Fi ad-hoc connection, whilst the microphone headset 1014 maycommunicate via a Bluetooth link.

The provision of these interfaces means that the Playstation 3 device isalso potentially compatible with other peripheral devices such asdigital video recorders (DVRs), set-top boxes, digital cameras, portablemedia players, Voice over IP telephones, mobile telephones, printers andscanners.

In addition, a legacy memory card reader 1016 may be connected to thesystem unit via a USB port 1024, enabling the reading of memory cards1048 of the kind used by the Playstation® or Playstation 2® devices.

In the present embodiment, the game controller 1002 is operable tocommunicate wirelessly with the system unit 1000 via the Bluetooth link.However, the game controller 1002 can instead be connected to a USBport, thereby also providing power by which to charge the battery of thegame controller 1002. In addition to one or more analog joysticks andconventional control buttons, the game controller is sensitive to motionin six degrees of freedom, corresponding to translation and rotation ineach axis. Consequently gestures and movements by the user of the gamecontroller may be translated as inputs to a game in addition to orinstead of conventional button or joystick commands. Optionally, otherwirelessly enabled peripheral devices such as the Playstation Portabledevice may be used as a controller. In the case of the PlaystationPortable device, additional game or control information (for example,control instructions or number of lives) may be provided on the screenof the device. Other alternative or supplementary control devices mayalso be used, such as a dance mat (not shown), a light gun (not shown),a steering wheel and pedals (not shown) or bespoke controllers, such asa single or several large buttons for a rapid-response quiz game (alsonot shown).

The remote control 1004 is also operable to communicate wirelessly withthe system unit 1000 via a Bluetooth link. The remote control 1004comprises controls suitable for the operation of the Blu Ray Disk BD-ROMreader 1040 and for the navigation of disk content.

The Blu Ray Disk BD-ROM reader 1040 is operable to read CD-ROMscompatible with the Playstation and PlayStation 2 devices, in additionto conventional pre-recorded and recordable CDs, and so-called SuperAudio CDs. The reader 1040 is also operable to read DVD-ROMs compatiblewith the Playstation 2 and PlayStation 3 devices, in addition toconventional pre-recorded and recordable DVDs. The reader 1040 isfurther operable to read BD-ROMs compatible with the Playstation 3device, as well as conventional pre-recorded and recordable Blu-RayDisks.

The system unit 1000 is operable to supply audio and video, eithergenerated or decoded by the Playstation 3 device via the RealitySynthesizer graphics unit 1030, through audio and video connectors to adisplay and sound output device 1042 such as a monitor or television sethaving a display 1044 and one or more loudspeakers 1046. The audioconnectors 1050 may include conventional analogue and digital outputswhilst the video connectors 1052 may variously include component video,S-video, composite video and one or more High Definition MultimediaInterface (HDMI) outputs. Consequently, video output may be in formatssuch as PAL or NTSC, or in 720p, 1080i or 1080p high definition.

Audio processing (generation, decoding and so on) is performed by theCell processor 1028. The Playstation 3 device's operating systemsupports Dolby® 5.1 surround sound, Dolby® Theatre Surround (DTS), andthe decoding of 7.1 surround sound from Blu-Ray® disks.

In the present embodiment, the video camera 1012 comprises a singlecharge coupled device (CCD), an LED indicator, and hardware-basedreal-time data compression and encoding apparatus so that compressedvideo data may be transmitted in an appropriate format such as anintra-image based MPEG (motion picture expert group) standard fordecoding by the system unit 1000. The camera LED indicator is arrangedto illuminate in response to appropriate control data from the systemunit 1000, for example to signify adverse lighting conditions.Embodiments of the video camera 1012 may variously connect to the systemunit 1000 via a USB, Bluetooth or Wi-Fi communication port. Embodimentsof the video camera may include one or more associated microphones thatare also capable of transmitting audio data. In embodiments of the videocamera, the CCD may have a resolution suitable for high-definition videocapture. In use, images captured by the video camera may for example beincorporated within a game or interpreted as game control inputs.

In general, in order for successful data communication to occur with aperipheral device such as a video camera or remote control via one ofthe communication ports of the system unit 1000, an appropriate piece ofsoftware such as a device driver should be provided. Device drivertechnology is well-known and will not be described in detail here,except to say that the skilled man will be aware that a device driver orsimilar software interface may be required in the present embodimentdescribed.

Embodiments may include capturing depth data to better identify thereal-world user and to direct activity of an avatar or scene. The objectcan be something the person is holding or can also be the person's hand.In this description, the terms “depth camera” and “three-dimensionalcamera” refer to any camera that is capable of obtaining distance ordepth information as well as two-dimensional pixel information. Forexample, a depth camera can utilize controlled infrared lighting toobtain distance information. Another exemplary depth camera can be astereo camera pair, which triangulates distance information using twostandard cameras. Similarly, the term “depth sensing device” refers toany type of device that is capable of obtaining distance information aswell as two-dimensional pixel information.

Recent advances in three-dimensional imagery have opened the door forincreased possibilities in real-time interactive computer animation. Inparticular, new “depth cameras” provide the ability to capture and mapthe third-dimension in addition to normal two-dimensional video imagery.With the new depth data, embodiments of the present invention allow theplacement of computer-generated objects in various positions within avideo scene in real-time, including behind other objects.

Moreover, embodiments of the present invention provide real-timeinteractive gaming experiences for users. For example, users caninteract with various computer-generated objects in real-time.Furthermore, video scenes can be altered in real-time to enhance theuser's game experience. For example, computer generated costumes can beinserted over the user's clothing, and computer generated light sourcescan be utilized to project virtual shadows within a video scene. Hence,using the embodiments of the present invention and a depth camera, userscan experience an interactive game environment within their own livingroom. Similar to normal cameras, a depth camera captures two-dimensionaldata for a plurality of pixels that comprise the video image. Thesevalues are color values for the pixels, generally red, green, and blue(RGB) values for each pixel. In this manner, objects captured by thecamera appear as two-dimension objects on a monitor.

Embodiments of the present invention also contemplate distributed imageprocessing configurations. For example, the invention is not limited tothe captured image and display image processing taking place in one oreven two locations, such as in the CPU or in the CPU and one otherelement. For example, the input image processing can just as readilytake place in an associated CPU, processor or device that can performprocessing; essentially all of image processing can be distributedthroughout the interconnected system. Thus, the present invention is notlimited to any specific image processing hardware circuitry and/orsoftware. The embodiments described herein are also not limited to anyspecific combination of general hardware circuitry and/or software, norto any particular source for the instructions executed by processingcomponents.

With the above embodiments in mind, it should be understood that theinvention may employ various computer-implemented operations involvingdata stored in computer systems. These operations include operationsrequiring physical manipulation of physical quantities. Usually, thoughnot necessarily, these quantities take the form of electrical ormagnetic signals capable of being stored, transferred, combined,compared, and otherwise manipulated. Further, the manipulationsperformed are often referred to in terms, such as producing,identifying, determining, or comparing.

The above-described invention may be practiced with other computersystem configurations including hand-held devices, microprocessorsystems, microprocessor-based or programmable consumer electronics,minicomputers, mainframe computers and the like. The invention may alsobe practiced in distributing computing environments where tasks areperformed by remote processing devices that are linked through acommunications network.

The invention can also be embodied as computer readable code on acomputer readable medium. The computer readable medium is any datastorage device that can store data that can be thereafter read by acomputer system, including an electromagnetic wave carrier. Examples ofthe computer readable medium include hard drives, network attachedstorage (NAS), read-only memory, random-access memory, CD-ROMs, CD-Rs,CD-RWs, magnetic tapes, and other optical and non-optical data storagedevices. The computer readable medium can also be distributed over anetwork coupled computer system so that the computer readable code isstored and executed in a distributed fashion.

Although the foregoing invention has been described in some detail forpurposes of clarity of understanding, it will be apparent that certainchanges and modifications may be practiced within the scope of theappended claims. Accordingly, the present embodiments are to beconsidered as illustrative and not restrictive, and the invention is notto be limited to the details given herein, but may be modified withinthe scope and equivalents of the appended claims.

What is claimed is:
 1. A computer implemented method for determining aposition of a controller in a three-dimensional space to interface withan application, comprising: (a) calibrating a computer program toidentify a group of recognized fixed points from a plurality of fixedpoints within the three-dimensional space using a depth cameraintegrated with a controller; (b) activating use of the controller anddepth camera during interface with the application, during use, (i)capturing image and depth data within the three-dimensional space usingthe depth camera of the controller; (ii) analyzing the image and depthdata to find one or more of the group of recognized fixed points; (iii)repeating (i) and (ii); (iv) determining changes of position of thecontroller based on a change in position of the found ones of the groupof recognized fixed points; and (v) triggering an input command based onthe determined change in position of the controller, wherein the inputcommand causes an action by the application.
 2. The computer implementedmethod of claim 1, further comprising: periodically repeating steps(i)-(v) so movement of the controller is correlated to controllingactions by the application.
 3. The method of claim 2, wherein theapplication includes instructions to render a virtual world on a monitorand the actions by the application are correlated to movement within thevirtual world.
 4. The method of claim 1, wherein calibrating thecomputer program includes: (a) capturing image and depth data for afirst image from a first known location; (b) capturing image and depthdata for a second image from a second known location; and (c)determining the plurality of fixed points based on the first image andsecond image.
 5. The method of claim 4, wherein the plurality of fixedpoints is analyzed to determine a group of recognized fixed points thatare selected based on their ability to reduce demand on computationalresources.
 6. The method of claim 1, wherein the group of recognizedfixed points are used to create a virtual world model of thethree-dimensional space, the virtual world model being used to determineratios of distances between the group of recognized fixed points whenthe controller is located at various positions within the space.
 7. Acomputer implemented method for interacting with a computer system,comprising: (a) beginning an interactive session, the interactivesession being executed on the computer system and automatically applyinga saved controller calibration from a memory; (b) accepting input to acontroller with a mobile depth camera, the input being determined by,(i) capturing image and depth data within a three-dimensional spaceusing the mobile depth camera; (ii) analyzing the image and depth datafor one or more recognized fixed points; (iii) repeating (i) and (ii);(iv) determining movement of the mobile depth camera within thethree-dimensional space based on differences between the recognizedfixed points; and (v) triggering an input command based on the movementof the mobile depth camera, wherein the input command causes an actionwithin the interactive session.
 8. The computer implemented method ofclaim 7, further comprising: periodically repeating steps (i)-(v) soinput to the controller correlates to movement within the interactivesession.
 9. The computer implemented method of claim 7, wherein savedcontroller calibration is created by: (a-i) capturing image and depthdata for a first image at a first known location within thethree-dimensional space; (a-ii) capturing image and depth data for asecond image at a second known location within the three-dimensionalspace; (a-iii) determining a plurality of fixed points within thethree-dimensional space based on the first and second images; (a-iv)filtering the plurality of fixed points to define a group of recognizedfixed points.
 10. The method of claim 9, wherein the group of recognizedfixed points are selected from the plurality of fixed points based onbeing able to distinguish the recognized fixed points within thethree-dimensional space.
 11. The method of claim 10, whereindistinguishing the recognized fixed points is partially based on depthdata captured by the mobile depth camera.
 12. The method of claim 9,wherein the group of recognized fixed points are used to create avirtual world model of the three-dimensional space, the virtual worldmodel being used to determine ratios of distances between the group ofrecognized fixed points when the mobile depth camera is located atvarious positions within the three-dimensional space.
 13. The computerimplemented method of claim 7, wherein the saved controller calibrationdetermines a sample rate, the sample rate defining a time intervalbetween capturing the first frame and the second frame.
 14. The computerimplemented method of claim 13, wherein during the interactive sessionthe sample rate changes based on events occurring within the interactivesession.